<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        function createNewWindow(){
            window.open('https://image.baidu.com', "", "location=no,status=no,scrollvars=no,height=1000, width=800, top=0, left=0");
        }
    </script>
</head>
<body>
    <div id="baidu">
        <!-- 标签<a>定义超链接-->
        <a href="https://www.baidu.com">百度一下</a>
    </div>
    <div id="news">
        <!-- 打开新的window -->
        <a href="https://news.baidu.com/" target="_blank">百度新闻</a>
    </div>

    <div>
        <!-- 打开新的window -->
        <input id="image" type="button" value="百度图片" onclick="createNewWindow()"/>
        <button id="btn">测试</button>
    </div>

</body>
</html>